package com.gitee.hermer.engine.jars.demo.core;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.gitee.hermer.boot.jee.commons.utils.StringUtils;
import com.gitee.hermer.engine.jars.core.domain.BaseInfo;
import com.gitee.hermer.engine.jars.demo.core.service.ITestService;

@Controller
@RequestMapping(value="/v3/test")
public class TestController {
	
	@Autowired
	private ITestService testService;
	
	@RequestMapping(value = {"randomString"},method = RequestMethod.GET)
	@ResponseBody
	public BaseInfo<String> ajaxInsert(){
		return new BaseInfo<String>("",testService.getRandomString());
	}

}
